import { reactive } from "vue";

export const competeRules = reactive({
  title: [
    {
      required: true,
      message: '请输入标题',
      trigger: 'blur'
    }
  ],
  rules: [
    {
      required: true,
      message: '请输入规则',
      trigger: 'blur'
    }
  ],
  award: [
    {
      required: true,
      message: '请输入奖品',
      trigger: 'blur'
    }
  ],
  sponsor: [
    {
      required: true,
      message: '请输入赞助商或赞助人',
      trigger: 'blur'
    }
  ],
  startDate: [
    {
      required: true,
      message: '请输入开始时间',
      trigger: 'blur'
    }
  ],
  endDate: [
    {
      required: true,
      message: '请输入截止日期',
      trigger: 'blur'
    }
  ],
  desc: [
    {
      required: true,
      message: '请输入描述',
      trigger: 'blur'
    }
  ],
})
